package cn.it.hbtt;

public class Student {

    private int id;
    private String name;
    private int age;


    private  User user;

    public void setUser(User user) {
        this.user = user;
    }

    //alt+insert
    public void setId(int id) {
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setAge(int age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", age=" + age +
                '}';
    }
}
